package com.t2t.top.thread;

public class JoinTest {

    public static void main(String[] args) {
        Thread t = new Thread(new RunnableImpl());
        t.start();
        try {
            t.join(2000);
            System.out.println("joinFinish" + "-" + DateUtils.getDateStr());
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
    }
}  